package com.ourway.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 飞书用户同步信息
 *
 * @author liuweiheng
 * @since 2021/12/12
 */
@TableName("feishu_user_sync")
@Data
@Accessors(chain = true)
public class FeiShuUserSync implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String userId;

    @TableField("feishu_open_id")
    private String feishuOpenId;

    @TableField("feishu_user_id")
    private String feishuUserId;

    @TableField("feishu_union_id")
    private String feishuUnionId;

    private Date createTime;

    private Date updateTime;
}
